package com.satoken.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


@Data
@Configuration
@ConfigurationProperties(prefix = "sa-oauth2-app-info")
public class SaOauth2AppInfo  {

    private String clientId;


    private String clientSecret;

    private String redirectUri;


    private String scope = "scope";

    private Integer accessTokenTimeout = 600;

    private Integer refreshTokenTimeout = 3600;

}
